
package com.be.beadmin.device.repository;


import com.be.beadmin.device.entity.InspectPlan;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
* @author chenxu
* @date 2023-09-18
**/
public interface InspectPlanRepository extends JpaRepository<InspectPlan, String>, JpaSpecificationExecutor<InspectPlan> {

    InspectPlan findInspectPlanByIdAndDelete(String id, Integer delete);

    InspectPlan findInspectPlanById(String id);

    List<InspectPlan> findInspectPlansByDelete(Integer delete);

}